package com.redis.lock.interceptor;

import org.aspectj.lang.ProceedingJoinPoint;

/**
 * 自定义key 生成策率
 * @author huyunqiang
 * @Date 2019/11/12 16:20
 */
public interface CacheKeyGenerator {
    /**
     * 获取AOP参数,生成指定缓存Key
     *
     * @param pjp PJP
     * @return 缓存KEY
     */
    String getLockKey(ProceedingJoinPoint pjp);
}
